#pragma once
#include "State/GameState.h"
#include "Player/AnimPlayer.h"
namespace LTGame
{
	class GameSelPlane
		: public GameState
	{
	public:
		GameSelPlane(GST_FLAG flag);
		~GameSelPlane();
		void paint(void);
		bool logic(void);
		bool game_DoSelPlane_KeyLogic(void);
	public:
		//virtual bool ccTouchBegan(CCTouch *pTouch, CCEvent *pEvent);
		//virtual void ccTouchMoved(CCTouch *pTouch, CCEvent *pEvent);
		virtual void ccTouchEnded(CCTouch *pTouch, CCEvent *pEvent);
	public:
		int planeIndex;
		int wingmanIndex;
		bool noticeBuyPlane;
		AnimPlayer *m_UpSelPlayer;
		AnimPlayer *m_DowmSelPlayer;
		AnimPlayer *plane_player;
	};
}